package com.mvd.app.model;

import com.orm.SugarRecord;
import com.orm.dsl.Column;
import com.orm.dsl.Unique;

import java.io.Serializable;

/**
 * 拍照列表--状态
 */

public class TypeModel extends SugarRecord implements Serializable{

    @Unique
    int tid;
    int color = 0;
    String codean, codehuan,code;
    String Name;
    int isphoto;//是否已拍照，记录拍照状态  0：未拍   1：已拍
    int isanhuan;//0：安检  1：环保  2：安检&环保


    public String getName() {
        return Name;
    }

    public String getCodean() {
        return codean;
    }

    public void setCodean(String codean) {
        this.codean = codean;
    }

    public String getCodehuan() {
        return codehuan;
    }

    public void setCodehuan(String codehuan) {
        this.codehuan = codehuan;
    }

    public void setName(String name) {
        this.Name = name;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getIsphoto() {
        return isphoto;
    }

    public void setIsphoto(int isphoto) {
        this.isphoto = isphoto;
    }

    public int getIsanhuan() {
        return isanhuan;
    }

    public void setIsanhuan(int isanhuan) {
        this.isanhuan = isanhuan;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "TypeModel{" +
                "tid=" + tid +
                ", color=" + color +
                ", codean='" + codean + '\'' +
                ", codehuan='" + codehuan + '\'' +
                ", code='" + code + '\'' +
                ", Name='" + Name + '\'' +
                ", isphoto=" + isphoto +
                ", isanhuan=" + isanhuan +
                '}';
    }
}
